import request from '@/utils/request'

export function fetchList(data) {
  return request({
    url: '/playApi/meet/list',
    method: 'post',
    data
  })
}

export function fetchArticle(data) {
  return request({
    url: '/playApi/meet/info',
    method: 'post',
    data
  })
}


export function changeStatus(data) {
  return request({
    url: '/playApi/meet//changeStatus',
    method: 'post',
    data
  })
}

export function upload64(data) {
  return request({
    url: '/playApi/file/upload64',
    method: 'post',
    data
  })
}

export function addhuiyi(data) {
  return request({
    url: '/playApi/meet/add',
    method: 'post',
    data
  })
}


export function fetchPv(pv) {
  return request({
    url: '/article/pv',
    method: 'get',
    params: {
      pv
    }
  })
}

export function createArticle(data) {
  return request({
    url: '/article/create',
    method: 'post',
    data
  })
}

export function updateArticle(data) {
  return request({
    url: '/article/update',
    method: 'post',
    data
  })
}
